//
//  SGJCycleLayout.m
//  Sewage
//
//  Created by 宗庆猛 on 2017/5/26.
//  Copyright © 2017年 宗庆猛. All rights reserved.
//

#import "SGJCycleLayout.h"

@implementation SGJCycleLayout
- (void)prepareLayout{
    [super prepareLayout];
    // 设置item的大小
    self.itemSize = self.collectionView.bounds.size;
    // 设置水平滑动
    self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
    // 设置垂直间距
    self.minimumLineSpacing = 0;
}
@end
